package modelo

class Reserva(var dia:Int, var horaInicio : Int, var horaFin : Int) { 
  
  var precio: Double = 0
  def seSolapaCon(res : Reserva) = this.dia == res.dia && this.horaInicio == res.horaInicio
  
  def sosDelDia(dia: Int): Boolean = this.dia == dia
  
  
//  CODIGO MUERTO
  def imprimirDelDia(){
    println("--------------------------------")
    println(this.dia)
    println(this.horaInicio)
    println(this.horaFin)
    println(this.precio)
    println("--------------------------------")
    
  }
}